package org.example.facade;

/**
 * @author
 * @description
 */
public class Projector {

    //使用饿汉式单例模式
    private static Projector instance = new Projector();

    public static Projector getInstance() {
        return instance;
    }

    public void on() {
        System.out.println("Projector is on");
    }

    public void off() {
        System.out.println("Projector is off");
    }

    public void pop() {
        System.out.println("Projector is poping");
    }

    public void pause() {
        System.out.println("Projector is pausing");
    }

}
